//
//  DaishouDetailViewController.h
//  TengyunStation
//
//  Created by Johnny on 15/10/23.
//  Copyright © 2015年 xingrong. All rights reserved.
//

#import "BaseViewController.h"
@class CustomButton;
@class Daishou;

@protocol DaishouDetailViewControllerDelegate <NSObject>

- (void)daishouDetailVCIsRefuse:(BOOL)isRefuse;//如果是拒收者为YES 如果为接收则为NO

@end

@interface DaishouDetailViewController : BaseViewController<UITableViewDataSource,UITableViewDelegate> {
    
    __weak IBOutlet UIImageView *_logoImageView;
    __weak IBOutlet UILabel *_expressCompanyLabel;
    __weak IBOutlet UILabel *_timeLabel;
    __weak IBOutlet UILabel *_nameLabel;
    __weak IBOutlet UIView *_footerView;
    __weak IBOutlet CustomButton *_agreeBtn;
    __weak IBOutlet UIButton *_scanBtn;
}

@property(nonatomic,strong)Daishou *daishou;
@property(nonatomic,weak)id<DaishouDetailViewControllerDelegate>delegate;
@property (weak, nonatomic) IBOutlet UITableView *tableView;

- (IBAction)startScanningButton:(id)sender;
- (IBAction)buttonAction:(UIButton *)sender;

@end
